<?php
function d($arr) {
	echo '<pre>';
	print_r($arr);
	echo '</pre>';
}
function encodeFilename($filename) {
	$filename = preg_replace("/[^a-zA-Z0-9-.]/", "_", $filename);
	return $filename;
}
